package com.ctv.my.customview.BaiajCustomView.activities;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.ctv.my.customview.BaiajCustomView.View.RadarView;
import com.ctv.my.customview.R;

/**
 * Created by baiaj on 2017/8/1.
 */

public class RadarAct extends AppCompatActivity {

    private RadarView mRadarView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_radar);
        mRadarView = (RadarView) findViewById(R.id.radar_view);
        mRadarView.setTitles(new String[]{"防御","金钱","击杀","助攻","魔法","物理"});
        mRadarView.setDatas(new double[]{40,100,80,50,90,10});
        mRadarView.setTitleSize(32);
    }
}
